﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.SituationPloModel
{
    [Serializable]
    [XmlRootAttribute("root", IsNullable = false)]
    public class SituationPloMerge
    {
        [XmlElementAttribute("case")]
        public List<SituationPloCaseModel> situationPloCaseModelList = new List<SituationPloCaseModel>();
    }
    public class SituationPloCaseModel
    {
        /// <summary>
        ///案件类型 
        /// </summary>
        [XmlAttribute("casetype")]
        public string CaseType { get; set; }
        /// <summary>
        ///操作类型 
        /// </summary>
        [XmlAttribute("type")]
        public string Type { get; set; }
        /// <summary>
        ///目标地址情形情节
        /// </summary>
        [XmlAttribute("StatusPlotpath")]
        public string StatusPlotpath { get; set; }
        /// <summary>
        ///公诉意见情形情节 
        /// </summary>
        [XmlAttribute("LStatusPlotpath")]
        public string LStatusPlotpath { get; set; }
        /// <summary>
        ///理由节点情形情节 
        /// </summary>
        [XmlAttribute("CStatusPlotpath")]
        public string CStatusPlotpath { get; set; }

        [XmlElementAttribute("casecause")]
        public List<SituationPloCauseModel> situationPloCauseModelList = new List<SituationPloCauseModel>();
    }

    public class SituationPloCauseModel
    {
        /// <summary>
        ///操作类型 
        /// </summary>
        [XmlAttribute("causeid")]
        public string Causeid { get; set; }
        /// <summary>
        ///案由要素情形情节 
        /// </summary>
        [XmlAttribute("CauseStatusPlotpath")]
        public string CauseStatusPlotpath { get; set; }
    }


}
